function coudanpin() {
    let dv1 = document.querySelector("#nav .div1")
    let dv2=document.querySelector("#nav .div2")
    fetch("http://chst.vip:1234/api/getgsshop")
        .then(body => body.json())
        .then(res => {
            let html = ""
            console.log(res);
            res.result.forEach(item => {
                html += `
                <p class="p1" shopId="${item.shopId}">${item.shopName}</p>
                `
            })
            dv1.innerHTML = html
        })
        fetch("http://chst.vip:1234/api/getgsshoparea")
        .then(body => body.json())
        .then(res => {
            let html1 = ""
            console.log(res);
            res.result.forEach(item => {
                html1 += `
                <p class="p2" shopId="${item.areaId}">${item.areaName}</p>
                `
            })
            dv2.innerHTML = html1
        })


        
   
}